﻿using System;
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;

namespace FLEN_Sim.config
{
    public static class Config
    {
        public const string HOSPITALS = "data\\Hospitals.xml";
        public const string AMBULANCE_STATIONS = "data\\AmbulanceStations.xml";
        public const string VEHICLES = "data\\Vehicles.xml";

        public enum SpecialPlaces { Altenheim, Bahnhof, Busbahnhof, Rathausplatz, Einkaufszentrum, Fußgängerzone };
        public enum EmergencyType { Kranktentransport, NotfalleinsatzRTW, NotfalleinsatzRTWNEF, ManV };

        public enum DiagnosisTypesL0 { Intern, Chirurgisch, Neurologisch };

        public enum DiagnosisTypesInternL1 { Kardiologisch, Gastro, Pneu };

        public enum DiagnosisTypesKardioL2 { Herzinfarkt, AnginaPectoris, HypertensiveKrise };
        public enum DiagnosisTypesGastroL2 { Ileus, Gastroenteritis };
        public enum DiagnosisTypesPneuL2 { Pneumonie, Atemnot, Asthma };

        //public const String[] Names = {"Meier", "Maier", "Mayer", "Meyer", "Müller", "Mühler", "Schulte", "Schulz", "Otto" };

        public const double EN_BOUNDARY_N = 51.48207777568795;
        public const double EN_BOUNDARY_S = 51.2254316195237;
        public const double EN_BOUNDARY_W = 7.11090087890625;
        public const double EN_BOUNDARY_E = 7.514133453369141;

        public static readonly string USERAGENT = "FLEN-Sim/" + System.Windows.Forms.Application.ProductVersion + " (.NET CLR "+Environment.Version.Major+"."+Environment.Version.Minor+"; Windows NT "+Environment.OSVersion.Version.Major+"."+Environment.OSVersion.Version.Minor+")";
        public static readonly string EMAIL = "s.markert87@googlemail.com";

        public const string ALPHABET = " ABCDEFGHIJKLMNOPQRSTUVWXYZ";

        public static GMap.NET.WindowsForms.GMapControl CONTROL = null;

        public static readonly System.Drawing.Color STATUS_1 = System.Drawing.Color.LightGreen;
        public static readonly System.Drawing.Color STATUS_2 = System.Drawing.Color.Green;
        public static readonly System.Drawing.Color STATUS_3 = System.Drawing.Color.Yellow;
        public static readonly System.Drawing.Color STATUS_4 = System.Drawing.Color.Red;
        public static readonly System.Drawing.Color STATUS_6 = System.Drawing.Color.Gray;
        public static readonly System.Drawing.Color STATUS_7 = System.Drawing.Color.Orange;
        public static readonly System.Drawing.Color STATUS_8 = System.Drawing.Color.Red;
        public static readonly System.Drawing.Color STATUS_0 = System.Drawing.Color.Blue;

        public const bool DEBUG_SHOWROUTES = true;

        public static List<Thread> THREAD_LIST = null;

        public static TextBox textbox = null;

        public const double SPEED120 = 33.3333333333; //120kmh = 33.3333333333 ms
        public const double SPEED70 = (19.4444444444+(7.2728468112639053254437869822485)); //70kmh = 19.4444444444 ms
        public const double SPEED50 = 13.8888888888; //50kmh = 13.8888888888 ms
    }
}
